$OpenBSD: patch-js_src_nanojit_avmplus_h,v 1.1 2013/12/09 16:31:59 landry Exp $
--- js/src/nanojit/avmplus.h.orig	Wed Jan  6 05:35:17 2010
+++ js/src/nanojit/avmplus.h	Sun Jan 10 17:47:27 2010
@@ -44,6 +44,7 @@
 
 #if defined(AVMPLUS_UNIX) || defined(AVMPLUS_OS2)
 #include <unistd.h>
+#include <sys/types.h>
 #include <sys/mman.h>
 #endif
 
